{include file="library/header.tpl"}
<body style="background:#deecef; overflow-x:hidden;">
<!-- {if $mm_show eq "MyDevelop"} -->
<div>
<h3>我提交的开发</h3>
<hr>
<!-- {if $develop} -->
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr>
    <td>
    <table border="0" cellspacing="1" cellpadding="0" width="85%" bgcolor="#CCCCCC" align="center">
  <tr bgcolor="#0099FF">
    <th>编号</th>
    <th>开发编号</th>
    <th>开发名称</th>
    <th>状态</th>
    <th>类别</th>
    <th>级别</th>
    <th>负责人</th>
    <th>提出日期</th>
    <th>分配日期</th>
    <th>截止日期</th>
    <th>完成日期</th>
    <!--<th>是否审核</th>-->
  </tr>
  <!--{foreach from=$develop item=d}-->
  <tr bgcolor="#FFFFFF">
    <td align="center">{$d.id}</td>
    <td align="center">{$d.dev_no}</td>
    <td align="center">{$d.dev_name}</td>
    <td align="center">
      {if $d.dev_status eq 0} 待批准
      {elseif $d.dev_status eq 1} 未批准
      {elseif $d.dev_status eq 2} 待处理
      {elseif $d.dev_status eq 3} 处理中
      {elseif $d.dev_status eq 4} 待校对
      {elseif $d.dev_status eq 5} 待审核
      {elseif $d.dev_status eq 6} 已审核
      {elseif $d.dev_status eq 7} 已完成
      {elseif $d.dev_status eq 8} 已同步
      {/if}     
    </td>
    <td align="center">
      {if $d.dev_category} 开发
      {else} 常规
      {/if}
    </td>
    <td align="center">
      {if $d.dev_level eq 0} 一般
      {elseif $d.dev_level eq 1} 紧急
      {elseif $d.dev_level eq 2} 非常紧急
      {/if}
    </td>
    <td align="center">{if $d.devname}{$d.devname}{else}未指定{/if} </td>
    <td align="center">{$d.dev_date}</td>
    <td align="center">{$d.dev_distri}</td>
    <td align="center">{$d.dev_deadline}</td>
    <td align="center">{$d.dev_complete}</td>
    <!--<td align="center">
      {if $d.dev_isverity} <font color="#00FF00">审核通过</font> 
      {else} <font color="#FF0000">审核未通过</font> 
      {/if}
    </td>-->
  </tr>
  <!--{/foreach}-->
</table>

    </td>
  </tr>

</table>
<!-- {else} -->
  <table border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>没有数据</td>
  </tr>
</table>
<!-- {/if} -->
</div>
<!-- {/if} -->
<!-- {if $mm_show eq "AddDevelop"} -->
<div>
<h3>提交开发</h3>
<hr>

  <link rel="stylesheet" href="http://code.jquery.com/ui/1.8.21/themes/base/jquery-ui.css" type="text/css" media="all" />
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
  <!--<link href="{$TemplateDir}jquery-ui.css" rel="stylesheet" type="text/css" media="all" />
  <script src="js/jquery-ui.min.js"></script> -->
  <script>
  $(document).ready(function() {
	$("#deadline").datepicker();
	$( "#deadline" ).datepicker( "option", "dateFormat", "yy-mm-dd" );

	$("#deadline").val("{$nowdate}");
  });
  </script>

<form action="" method="post" name="addDevelop" id="addDevelop" enctype="multipart/form-data">
<table border="0" cellspacing="3" cellpadding="2" align="center">
  <tr>
    <td>开发名称：</td>
    <td><input type="text" name="devname" id="devname" size="15" /></td>
  </tr>
  <tr>
    <td>开发描述：</td>
    <td><textarea rows="6" cols="40" name="describe" id="describe"></textarea></td>
  </tr>
  <tr>
    <td>需求文档：</td>
    <td><input type="file" name="devfile" id="devfile" value="上传附件" />&nbsp;&nbsp; <font color="#FF0000" size="-1">* 文件名为字母和数字组合，不能使用汉字</font></td>
  </tr>
  <tr>
    <td>开发类型：</td>
    <td>
      <input name="category" type="radio" value="0" checked="checked" />常规
      <input name="category" type="radio" value="1" />开发
    </td>
  </tr>
  <tr>
    <td>开发级别：</td>
    <td>
      <select id="level" name="level">
        <option value="0">一般</option>
        <option value="1">紧急</option>
        <option value="2">非常紧急</option>
      </select>
    </td>
  </tr>
  <tr>
    <td>预期完成时间：</td>
    <td><input type="text" name="deadline" id="deadline" /> &nbsp;&nbsp; <font color="#FF0000" size="-1">* 格式: 2012-07-02</font></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td height="35" align="left" valign="bottom">
    <input type="hidden" name="act" value="update" />
    <input type="submit" class="mm-button mm-button-submit" value="提交" />
    <input type="reset" class="mm-button mm-button-submit" value="重置" />
    </td>
  </tr>
</table>
</form>
</div>
<!-- {/if} -->

<!-- {if $mm_show eq "audit"} -->
<div>
<h3>所有提交的开发</h3>
<hr>
<!-- {if $develop} -->
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr>
    <td>
    <table border="0" cellspacing="1" cellpadding="2" width="98%" bgcolor="#CCCCCC" align="center" style=" font-size:14px; font-family:Arial, Helvetica, sans-serif;">
  <tr bgcolor="#0099FF">
    <th>编号</th>
    <th>开发编号</th>
    <th>建议编号</th>
    <th>提出者</th>
    <th>开发名称</th>
    <th>开发描述</th>
    <th>状态</th>
    <th>类别</th>
    <th>级别</th>
    <th>负责人</th>
    <th>校对人</th>
    <th>提出日期</th>
    <th>分配日期</th>
    <th>截止日期</th>
    <th>完成日期</th>
    <th>延期天数</th>
    <th>需求分数</th>
    <th>校对分</th>
    <th>实际得分</th>
    <!--<th>是否审核</th>-->
    <th>相关文档</th>
    <th>操作</th>
  </tr>
  <!--{foreach from=$develop item=d}-->
  <tr bgcolor="#FFFFFF">
    <td align="center">{$d.id}</td>
    <td align="center"><a href="develop.php?act=showlog&did={$d.id}">{$d.dev_no}</a></td>
    <td align="center">
    <!--{if $d.dev_sid} -->{$d.dev_sid}
    <!--{else} --><font color="#FF0000">未关联</font>
    <!--{/if} --></td>
    <td align="center">
    <!--{if $d.sname} -->{$d.sname}
    <!--{else} --><font color="#FF0000">未关联</font>
    <!--{/if} --></td>
    <td align="center">{$d.dev_name}</td>
    <td align="center">{$d.dev_desc|truncate}</td>
    <td align="center">
      {if $d.dev_status eq 0} 待批准
      {elseif $d.dev_status eq 1} 未批准
      {elseif $d.dev_status eq 2} 待处理
      {elseif $d.dev_status eq 3} 处理中
      {elseif $d.dev_status eq 4} 待校对
      {elseif $d.dev_status eq 5} 待审核
      {elseif $d.dev_status eq 6} 已审核
      {elseif $d.dev_status eq 7} 已完成
      {elseif $d.dev_status eq 8} 已同步
      {/if} 
          
    </td>
    <td align="center">
      {if $d.dev_category} 开发
      {else} 常规
      {/if}
    </td>
    <td align="center">
      <!--{if $d.dev_level eq 0} --> 一般
      <!--{elseif $d.dev_level eq 1} --> 紧急
      <!--{elseif $d.dev_level eq 2} --> <font color="#FF0000">非常紧急</font>
      <!--{/if} -->
    </td>
    <td align="center">
    <!--{if $d.devname} -->{$d.devname}
    <!--{else} --><font color="#FF0000">未分派</font><!--{/if} --> </td>
    <td align="center">
    <!--{if $d.shenname} -->{$d.shenname}
    <!--{else} --><font color="#FF0000">未分派</font><!--{/if} --> </td>
    <td align="center">{$d.dev_date}</td>
    <td align="center">{$d.dev_distri}</td>
    <td align="center">{$d.dev_deadline}</td>
    <td align="center">{$d.dev_complete}</td>
    <td align="center">{$d.delay}</td>
    <td align="center">{$d.dev_point}</td>
    <td align="center">{$d.dev_proof}</td>
    <td align="center">{$d.dev_score}</td>
    <!--<td align="center">
      {if $d.dev_isverity} <font color="#00FF00">审核通过</font> 
      {else} <font color="#FF0000">审核未通过</font> 
      {/if}
    </td> -->
    <td align="center">
      <!--{if $d.dev_file} -->
      <a href="{$d.dev_file}">下载</a>
      <!--{else} --> 无
      <!--{/if} -->
      
     </td>
    <td align="center">
    <!--{if $d.dev_isverity} -->
      <a href="develop.php?act=modaudit&did={$d.id}">修改</a>
    <!--{else} -->
      <a href="develop.php?act=modaudit&did={$d.id}">审核</a> / 
      <a href="develop.php?act=del&did={$d.id}">删除</a>
    <!--{/if} -->
    </td>
    
  </tr>
  <!--{/foreach}-->
</table>

    </td>
  </tr>

</table>
<!-- {else} -->
  <table border="0" cellspacing="0" cellpadding="0" align="center">
  <tr>
    <td>没有数据</td>
  </tr>
</table>
<!-- {/if} -->
</div>
<!-- {/if} -->
<!-- {if $mm_show eq "modaudit"} -->
<div>
<h3>审核 / 修改项目</h3>
<hr>
<!-- {if $develop} -->
<link rel="stylesheet" href="http://code.jquery.com/ui/1.8.21/themes/base/jquery-ui.css" type="text/css" media="all" />
  <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
 
  <script>
  $(document).ready(function() {
  $("#distri").datepicker();
	$( "#distri" ).datepicker( "option", "dateFormat", "yy-mm-dd" );
	$("#distri").val("{$develop.dev_distri}");
  
	$("#deadlinem").datepicker();
	$( "#deadlinem" ).datepicker( "option", "dateFormat", "yy-mm-dd" );
	$("#deadlinem").val("{$develop.dev_deadline}");
	
	$("#complete").datepicker();
	$( "#complete" ).datepicker( "option", "dateFormat", "yy-mm-dd" );
	$("#complete").val("{$develop.dev_complete}");
  });
  
  
  </script>
<form action="develop.php" method="post" name="addDevelop" id="addDevelop" enctype="multipart/form-data">
<table border="0" cellspacing="3" cellpadding="2" align="center">
  <tr>
    <td>关联建议：</td>
    <td><select id="suggestid" name="suggestid">
        <option value="0">--未关联--</option>
        <!--{foreach from=$suggest item=s} -->
        <option value="{$s.id}" {if $develop.dev_sid eq $s.id} selected {/if}>{$s.s_content|truncate}</option>
        <!--{/foreach} -->
      </select></td>
  </tr>
  <tr>
    <td>开发名称：</td>
    <td><input type="text" name="devname" id="devname" size="15"  value="{$develop.dev_name}"/></td>
  </tr>
  <tr>
    <td>开发描述：</td>
    <td><textarea rows="6" cols="40" name="describe" id="describe">{$develop.dev_desc}</textarea></td>
  </tr>
  <tr>
    <td>开发状态：</td>
    <td>
      <select id="status" name="status">
        <option value="0" {if $develop.dev_status eq 0} selected="selected" {/if}>待批准</option>
        <option value="1" {if $develop.dev_status eq 1} selected="selected" {/if}>未批准</option>
        <option value="2" {if $develop.dev_status eq 2} selected="selected" {/if}>待处理</option>
        <option value="3" {if $develop.dev_status eq 3} selected="selected" {/if}>处理中</option>
        <option value="4" {if $develop.dev_status eq 4} selected="selected" {/if}>待校对</option>
        <option value="5" {if $develop.dev_status eq 5} selected="selected" {/if}>待审核</option>
        <option value="6" {if $develop.dev_status eq 6} selected="selected" {/if}>已审核</option>
        <option value="7" {if $develop.dev_status eq 7} selected="selected" {/if}>已完成</option>
        <option value="8" {if $develop.dev_status eq 8} selected="selected" {/if}>已同步</option>
      </select>
    </td>
  </tr>
  <tr>
    <td>开发类型：</td>
    <td>
      <input name="category" type="radio" value="0" {if $develop.dev_category eq 0} checked="checked" {/if}/>常规
      <input name="category" type="radio" value="1" {if $develop.dev_category} checked="checked" {/if}/>开发
    </td>
  </tr>
  <tr>
    <td>开发级别：</td>
    <td>
      <select id="level" name="level">
        <option value="0" {if $develop.dev_level eq 0} selected="selected" {/if}>一般</option>
        <option value="1" {if $develop.dev_level eq 1} selected="selected" {/if}>紧急</option>
        <option value="2" {if $develop.dev_level eq 2} selected="selected" {/if}>非常紧急</option>
      </select>
    </td>
  </tr>
  <tr>
    <td>负责人：</td>
    <td>
      <select id="eid" name="eid">
        <option value="0">--未指派--</option>
        <!--{foreach from=$employees item=e} -->
        <option value="{$e.id}" {if $develop.dev_eid eq $e.id} selected {/if}>{$e.e_name}</option>
        <!--{/foreach} -->
      </select>
    </td>
  </tr>
  <tr>
    <td>校对人：</td>
    <td>
      <select id="shenid" name="shenid">
        <option value="0">--未指派--</option>
        <!--{foreach from=$employees item=e} -->
        <option value="{$e.id}" {if $develop.dev_shenid eq $e.id} selected {/if}>{$e.e_name}</option>
        <!--{/foreach} -->
      </select>
    </td>
  </tr>
  <tr>
    <td>提出日期：</td>
    <td>{$develop.dev_date}</td>
  </tr>
  <tr>
    <td>分配日期：</td>
    <td><input type="text" name="distri" id="distri" value="{$develop.dev_distrie}" /> &nbsp;&nbsp; <font color="#FF0000" size="-1">* 格式: 2012-07-02</font></td>
  </tr>
  <tr>
    <td>截止日期：</td>
    <td><input type="text" name="deadline" id="deadlinem" value="{$develop.dev_deadline}" /> &nbsp;&nbsp; <font color="#FF0000" size="-1">* 格式: 2012-07-02</font></td>
  </tr><tr>
    <td>完成日期：</td>
    <td><input type="text" name="complete" id="complete" value="{$develop.dev_complete}" /> &nbsp;&nbsp; <font color="#FF0000" size="-1">* 格式: 2012-07-02</font></td>
  </tr>
  <tr>
    <td>需求得分：</td>
    <td><input type="text" name="point" id="point" value="{$develop.dev_point}" /></td>
  </tr>
  
  <tr>
    <td>校对分：</td>
    <td><input type="text" name="proof" id="proof" value="{$develop.dev_proof}" /></td>
  </tr>
  <tr>
    <td>实际得分：</td>
    <td><input type="text" name="score" id="score" value="{$develop.dev_score}" /></td>
  </tr>
  <tr>
    <td>审核：</td>
    <td>
      <input name="verity" type="radio" value="0" {if $develop.dev_isverity eq 0} checked="checked" {/if} />未通过
      <input name="verity" type="radio" value="1" {if $develop.dev_isverity} checked="checked" {/if} />审核通过
    </td>
  </tr>
  <tr>
    <td>备注：</td>
    <td>
    <textarea rows="6" cols="40" name="note" id="note"></textarea>
    &nbsp;&nbsp; <font color="#FF0000" size="-1">* 必须添加备注</font>
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td height="35" align="left" valign="bottom">
    <input type="hidden" name="act" value="modauditu" />
    <input type="hidden" name="did" value="{$did}" />
    <input type="submit" class="mm-button mm-button-submit" value="审核 / 修改" id="submit_develop" onClick="return CheckNote();"/>
    </td>
  </tr>
</table>
<script type="text/javascript">
function CheckNote()
{
	var mnote = document.getElementById("note").value;
	if(mnote==""){
	  alert("备注不能为空");
	  return false;
	}
}
</script>
</form>
<!-- {/if} -->
</div>
<!-- {/if} -->

<!-- {if $mm_show eq "project"} -->
<div>
<h3>我负责的项目</h3>
<hr>
<!-- {if $develop} -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr>
    <td>
    <table border="0" cellspacing="1" cellpadding="0" width="85%" bgcolor="#CCCCCC" align="center">
  <tr bgcolor="#0099FF">
    <th>编号</th>
    <th>开发编号</th>
    <th>开发名称</th>
    <th>状态</th>
    <th>类别</th>
    <th>级别</th>
    <th>提出日期</th>
    <th>分配日期</th>
    <th>截止日期</th>
    <th>完成日期</th>
    <th>延迟</th>
    <th>相关文档</th>
    <!--<th>是否审核</th>-->
    <th>操作</th>
  </tr>
  <!--{foreach from=$develop item=d}-->
  <tr bgcolor="#FFFFFF">
    <td align="center">{$d.id}</td>
    <td align="center">{$d.dev_no}</td>
    <td align="center">{$d.dev_name}</td>
    <td align="center">
      {if $d.dev_status eq 0} 待批准
      {elseif $d.dev_status eq 1} 未批准
      {elseif $d.dev_status eq 2} 待处理
      {elseif $d.dev_status eq 3} 处理中
      {elseif $d.dev_status eq 4} 待校对
      {elseif $d.dev_status eq 5} 待审核
      {elseif $d.dev_status eq 6} 已审核
      {elseif $d.dev_status eq 7} 已完成
      {elseif $d.dev_status eq 8} 已同步
      {/if}     
    </td>
    <td align="center">
      {if $d.dev_category} 开发
      {else} 常规
      {/if}
    </td>
    <td align="center">
      {if $d.dev_level eq 0} 一般
      {elseif $d.dev_level eq 1} 紧急
      {elseif $d.dev_level eq 2} 非常紧急
      {/if}
    </td>
    <td align="center">{$d.dev_date}</td>
    <td align="center">{$d.dev_distri}</td>
    <td align="center">{$d.dev_deadline}</td>
    <td align="center">{$d.dev_complete}</td>
    <td align="center">{$d.delay}</td>
    <td align="center">
      <!--{if $d.dev_file} -->
      <a href="{$d.dev_file}">下载</a>
      <!--{else} --> 无
      <!--{/if} -->
      
     </td>
    <!--<td align="center">
      {if $d.dev_isverity} <font color="#00FF00">审核通过</font> 
      {else} <font color="#FF0000">审核未通过</font> 
      {/if}
    </td> -->
    <td>
    <!--{if $d.dev_status eq 3} -->
    <a href="develop.php?act=submit&did={$d.id}">提交</a>
    <!--{elseif  $d.dev_status eq 7} -->
    已完成
    <!--{else} -->
    等待审核
    <!--{/if} -->
    </td>
  </tr>
  <!--{/foreach}-->
</table>

    </td>
  </tr>

</table>
<!-- {/if} -->
</div>
<!-- {/if} -->
<!-- {if $mm_show eq "submitdev"} -->
<div>
<h3>提交项目</h3>
<hr>
<!-- {if $develop} -->
<form action="develop.php" method="post" id="submitdev">
<table border="0" cellspacing="0" cellpadding="0" align="left">
  <tr>
    <td>项目编号：</td>
    <td>{$develop.dev_no}</td>
  </tr>
  <tr>
    <td>开发状态：</td>
    <td>
      <select id="status" name="status">
        <option value="2" {if $develop.dev_status eq 2} selected="selected" {/if}>待处理</option>
        <option value="3" {if $develop.dev_status eq 3} selected="selected" {/if}>处理中</option>
        <option value="4" {if $develop.dev_status eq 4} selected="selected" {/if}>待校对</option>
      </select>
    </td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td height="35" align="left" valign="bottom">
    <input type="hidden" name="act" value="submitu" />
    <input type="hidden" name="did" value="{$did}" />
    <input type="submit" class="mm-button mm-button-submit" value="提交" />
    </td>
  </tr>
</table>

</form>
<!-- {/if} -->
</div>
<!-- {/if} -->

<!-- {if $mm_show eq "tongji"} -->
<div>
<h3>统计开发</h3>
<hr>
<!-- {if $develop} -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
  <tr>
    <td>
    <link rel="stylesheet" href="http://code.jquery.com/ui/1.8.21/themes/base/jquery-ui.css" type="text/css" media="all" />
	 <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
  <script>
  $(document).ready(function() {
	$("#start_date").datepicker();
	$( "#start_date" ).datepicker( "option", "dateFormat", "yy-mm-dd" );
	
	$("#end_date").datepicker();
	$( "#end_date" ).datepicker( "option", "dateFormat", "yy-mm-dd" );
  });
  </script>
    <form action="develop.php" method="post" name="tongji_excel">
    <table border="0" cellspacing="0" cellpadding="0">    
    <tr>
     <td width="80">&nbsp;</td>
     <td align="right">开始日期：</td>
     <td align="left"><input type="text" id="start_date" name="start_date" /></td>
     <td align="right">&nbsp;&nbsp;结束日期：</td>
     <td align="left"><input type="text" id="end_date" name="end_date" /></td>
     
     <td align="right">&nbsp;&nbsp;&nbsp;&nbsp;
     <input type="submit" class="mm-button mm-button-submit" value="导出Excel" />
     <input type="hidden" name="act" value="tongji_excel" /> &nbsp; 
     <font color="#FF0000" size="-1">*导出 Excel 区间以完成时间为准</font>
     <br>
     </td>
     </tr>
    </table>
    </form>
    <br>
    </td>
  </tr>
  <tr>
    <td>
    <table border="0" cellspacing="1" cellpadding="0" width="85%" bgcolor="#CCCCCC" align="center">
  <tr bgcolor="#0099FF">
    <th>编号</th>
    <th>开发编号</th>
    <th>开发者</th>
    <th>审核者</th>
    <th>提出者</th>
    <th>开发名称</th>
    <th>状态</th>
    <th>提出日期</th>
    <th>分配日期</th>
    <th>截止日期</th>
    <th>完成日期</th>
    <th>延迟天数</th>
    <th>需求分数</th>
    <th>校对得分</th>
    <th>审核得分</th>
  </tr>
  <!--{foreach from=$develop item=d}-->
  <tr bgcolor="#FFFFFF">
    <td align="center">{$d.id}</td>
    <td align="center">{$d.dev_no}</td>
    <td align="center">{$d.devname}</td>
    <td align="center">{$d.shenname}</td>
    <td align="center">{$d.sname}</td>
    <td align="center">{$d.dev_name}</td>
    <td align="center">
      {if $d.dev_status eq 0} 待批准
      {elseif $d.dev_status eq 1} 未批准
      {elseif $d.dev_status eq 2} 待处理
      {elseif $d.dev_status eq 3} 处理中
      {elseif $d.dev_status eq 4} 待校对
      {elseif $d.dev_status eq 5} 待审核
      {elseif $d.dev_status eq 6} 已审核
      {elseif $d.dev_status eq 7} 已完成
      {elseif $d.dev_status eq 8} 已同步
      {/if} 
          
    </td>
    <td align="center">{$d.dev_date}</td>
    <td align="center">{$d.dev_distri}</td>
    <td align="center">{$d.dev_deadline}</td>
    <td align="center">{$d.dev_complete}</td>
    <td align="center">{$d.delay}</td>
    <td align="center">{$d.dev_point}</td>
    <td align="center">{$d.dev_proof}</td>
    <td align="center">{$d.dev_score}</td>
  </tr>
  <!--{/foreach}-->
</table>

    </td>
  </tr>

</table>
<!-- {/if} -->
</div>
<!-- {/if} -->
<!-- {if $mm_show eq "showlog"} -->
<div>
<h3>操作记录</h3>
<hr>
<!-- {if $log} -->
<table border="0" cellspacing="0" cellpadding="0" width="100%">
  
  <tr>
    <td>
    <table border="0" cellspacing="1" cellpadding="0" width="85%" bgcolor="#CCCCCC" align="center">
  <tr bgcolor="#0099FF">
    <th>编号</th>
    <th>操作人</th>
    <th>备注</th>
    <th>时间</th>
  </tr>
  <!--{foreach from=$log item=l}-->
  <tr bgcolor="#FFFFFF">
    <td align="center">{$l.id}</td>
    <td align="center">{$l.ename}</td>
    <td align="center">{$l.note}</td>
    <td align="center">{$l.time}</td>
  </tr>
  <!--{/foreach}-->
</table>

    </td>
  </tr>

</table>
<!-- {/if} -->
</div>
<!-- {/if} -->
</body>
{include file="library/footer.tpl"}